<%--
  Created by IntelliJ IDEA.
  User: wmb
  Date: 2024/10/12
  Time: 10:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("utf-8");%>
<jsp:useBean id="ps" class="com.chapter6.javabean.Person" scope="page"/>
<jsp:setProperty name="ps" property="*"/>
姓名:<jsp:getProperty property="name" name="ps"/><BR>
性别:<jsp:getProperty property="sex" name="ps"/><BR>
年龄:<jsp:getProperty property="age" name="ps"/><BR>
</body>
</html>